From: Hannu Nyman Date: Sat, 26 Apr 2025 15:07:24 +0000 (+0300) Subject: luci-base: Hardcode 'openwrt-23.05' as the branch name, fixed X-Git-Url: http://git.openwrt.org/%22https:/collectd.org/%22http:/www.crowdsec.net//%22https%22/%22https:/collectd.org/%22http:/www.crowdsec.net/%22https%22?a=commitdiff_plain;h=149d68edf1b6e892f3543979fbdac220cb2a0e1b;p=project%2Fluci.git luci-base: Hardcode 'openwrt-23.05' as the branch name, fixed Fix the previous commit, really set the 23.05 branding, not 24.10. Hardcode 'openwrt-23.05' release branch as the branch name to avoid 'LuCI (HEAD detached at 2ac26e56) branch' being shown as the branch. Feeds are since March 2025 cloned shallow if cloned from a specific commit, like done with a release tag. Change in OpenWrt: https://github.com/openwrt/openwrt/commit/32d0a57dc10811a24816e51f10e55963f40fe462 As the only cloned commit of a release tag is without history, the branch can't be identified. So, hardcode the branch name to get the proper branch name 'LuCI openwrt-23.05 branch'. Fixes #7737 Signed-off-by: Hannu Nyman --- diff --git a/modules/luci-base/Makefile b/modules/luci-base/Makefile index bb23511f99..32eebfcd26 100644 --- a/modules/luci-base/Makefile +++ b/modules/luci-base/Makefile @@ -8,8 +8,8 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-base -# Hardcode 'openwrt-24.10' release branch as the branch name -PKG_GITBRANCH:=LuCI openwrt-24.10 branch +# Hardcode 'openwrt-23.05' release branch as the branch name +PKG_GITBRANCH:=LuCI openwrt-23.05 branch LUCI_TYPE:=mod LUCI_BASENAME:=base